<%
'*****************************************************
'Description: 数据库连接功能
'Copyright:Copyright(c)2012
'Company:204studio
'@author:klarkyang
'@version:1.0
'******************************************************
%>
<%
dim conn
dim conntol
conntol = "driver={sql server};server=localhost;uid=204studio;pwd=204studio;database=cwms"
set conn=server.createobject("adodb.connection")
conn.open conntol
%>